* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: white;
    text-align: center;
}

#game-container {
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

h1 {
    color: #ff9800;
}

h2 {
    color: #ff9800;
}

p {
    color: #ff9800;
}

#track {
    position: relative;
    width: 100%;
    height: 100px;
    background: #ddd;
    border-radius: 10px;
    margin-top: 20px;
    overflow: hidden;
}

#car {
    position: absolute;
    bottom: 20px;
    left: 0;
    font-size: 30px;
    transition: left 0.3s ease-in-out;
}

#word-container {
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #ff9800;
}

#game-over {
    display: none;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    border-radius: 10px;
}

#restart-btn {
    margin-top: 10px;
    padding: 10px 20px;
    background: #ff9800;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
}

#restart-btn:hover {
    background: #e68900;
}



.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 15px 20px;
    color: #e65a00;
    
    /* Shadow Effect */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
}

/* Apply Quicksand font to the logo */
.logo {
    font-size: 22px;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #e65a00;
}

/* Hamburger menu */
.hamburger {
    font-size: 26px;
    cursor: pointer;
    display: none;
}







    
    
    /*FOOTER*/
    footer{
        width:100%;
        background-color:white;
        color: #e65a00;
        }
        
        .top_header{
        padding:2rem;
        display:flex;
        align-items:center;
        justify-content:center;
        position:relative;
        }
        
        .top_header section{
        display:flex;
        align-items:center;
        justify-content:center;
        width:100%;
        }
        
        .top_header span{
        padding:0 1rem;
        }
        
        .top_header .fa{
        color: #e65a00;
        font-size:35px;
        }
        
        footer .border-shape {
        width: 40%;
        }
        
        footer .border-shape::before {
        width: 100%;
        left:120px;
        }
        
        footer .border-shape::after {
        width: 100%;
        right:120px;
        }
        
        footer .bottom_content section{
        padding:1.5rem 2rem;
        display:flex;
        align-items:center;
        justify-content:Center;
        }
        
        .bottom_content a{
        margin:0 20px;
        color:#e65a00;
        transition:0.5s;
        }
        
        .bottom_content a:hover{
        color:#e65a00;
        }
        
        
        .copyright{
        padding:0.8em 0;
        background-color:white;
        text-align:center;
        color:#e65a00;
        font-size:12px;
        }
        
        
        
        @media (max-width:820px){
        .top_header{
        padding:1rem;
        display:block;
        }
        
        .top_header section{
        margin:40px 0;
        align-items:left;
        justify-content:left;
        }
        footer .bottom_content section{
        padding:1rem;
        display:block;
        }
        footer .bottom_content section a{
        padding:1rem;
        font-size:12px;
        margin:0 5px;
        display:inline-block;
        }
        }
        
        
        



